import http from '../request'

export const findTrademarkList = (category3Id) => {
    return http({
        url: `/admin/product/baseCategoryTrademark/findTrademarkList/${category3Id}`,
        method: 'get'
    })
};

export const findCurrentTrademarkList = (category3Id) => {
    return http({
        url: `/admin/product/baseCategoryTrademark/findCurrentTrademarkList/${category3Id}`,
        method: 'get'
    })
};

export const remove = (category3Id,trademarkId) => {
    return http({
        url: `/admin/product/baseCategoryTrademark/remove/${category3Id}/${trademarkId}`,
        method: 'delete'
    })
};

export const save = (pojo) => {
    return http({
        url: `/admin/product/baseCategoryTrademark/save`,
        method: 'post',
        data: pojo
    })
};
